home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Unix / satan-1.1.1 / rules / facts < prev    next >
Text File  |  1995-04-02  |  2KB  |  55 lines

  1. #
  2. # Rules that deduce new facts from existing data. Each rule is executed once
  3. # for each 'a' SATAN record. The rule format is:
  4. #
  5. #    condition TABs fact
  6. #
  7. # The condition is a PERL expression that has full access to the global
  8. # $target..$text variables, to functions, and to everything that has been
  9. # found sofar. The fact is a SATAN record. 
  10. #
  11. # Empty lines and text after a "#" character are ignored. Long lines may
  12. # be broken with backslash-newline.
  13. #
  14. #
  15. # version 1, Sun Mar 19 10:32:57 1995, last mod by zen
  16. #
  17.  
  18. #
  19. # Assume rexd is insecure without even trying
  20. #
  21. /runs rexd/    $target|assert|a|us|ANY@$target|ANY@ANY|REXD access|rexd is vulnerable
  22.  
  23. # SENDMAIL SECTION ;-)
  24. #
  25. # assume berkeley versions of sendmail < 8.6.10 are hosed:
  26. /sendmail 8\.6\.([0-9]+)/i && $1 < 10 \
  27.         $target|assert|a|rs|ANY@$target|ANY@$target|Sendmail vulnerabilities|sendmail pre 8.6.10
  28.  
  29. #
  30. # other sendmail versions
  31.  
  32. # HP
  33. /HP Sendmail \(1\.37\.109\.11/ \
  34.         $target|assert|a|rs|ANY@$target|ANY@$target|Sendmail vulnerabilities|sendmail pre 8.6.10
  35.  
  36. #
  37. # Generic (or derived from) BSD; should have something >= 5.60
  38. /[Ss]endmail (5\.60)/ && $1 <= 5.60 \
  39.         $target|assert|a|rs|ANY@$target|ANY@$target|Sendmail vulnerabilities|sendmail pre 5.61
  40.  
  41. #
  42. # Sequent/DYNIX; if <= 5.65, broken...
  43. /[Ss]endmail (5\.65)/ && $1 <= 5.65 && /DYNIX/ \
  44.         $target|assert|a|rs|ANY@$target|ANY@$target|Sendmail vulnerabilities|DYNIX sendmail, pre 5.65
  45.  
  46. #
  47. # OTHER PROBLEMS
  48. #
  49. # 220 wuarchive.wustl.edu FTP server (Version wu-2.4(1) Mon 
  50. /ftp.*\(version wu-2.([0-9]+)/i && $1 < 4 \
  51.         $target|assert|a|rs|ANY@$target|ANY@$target|FTP vulnerabilities|wuftp pre 2.4
  52.  
  53. # a modem on a port?  Surely you jest...
  54. /AT\\[nr].*OK\\[nr]/    $target|assert|a|rs|ANY@$target|ANY@$target|unrestricted modem|unrestricted modem on the Internet
  55.